package com.jiezuo.flowable.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @description
 * @author 庞留杰
 * @date 2020/8/24 13:48
 * @version V1.0
 **/
public interface MyService extends IService<Map<String, Object>> {

    /*List<Map<String,Object>> findUsersAndRoleIds();

    List<Map<String,Object>> findRoles();

    List<Map<String,Object>> findAllUsers();*/


    List<Map<String, Object>> findUsersAndButtonIds(String filter);

    List<Map<String, Object>> findButtons(String filter);

    List<Map<String, Object>> findAllUsers();

    List<String> findUserIdsByButtonId(String button_id);

    /*int insertFallBack(String proc_inst_id,
                       String task_id,
                       String source_act_id,
                       String target_act_id,
                       String created_by,
                       Date created_time,
                       String updated_by,
                       Date updated_time,
                       String note);*/
}
